menutrackeritem: Be more careful with accel changes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jun 2021 12:42:03 +0000 (08:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jun 2021 12:50:26 +0000 (08:50 -0400)
commitdb93090ea87ef549df72e98a87994918713f1227
treeb376f3fca6744a356f079141959f95962f971b42
parent15c65595b8e190f06518a3de385f7130273a58c5
menutrackeritem: Be more careful with accel changes

In some cases (such as when getting a new parent), the
action muxer doesn't know exactly which detailed actions
have changed accels, so we call primary_accel_changed with
just an action name.

Make the menu tracker item handle that case by matching
either against the detailed name or the the action name.
gtk/gtkmenutrackeritem.c